<template>
  <div >
    <span class="my_div" v-for="(item,index) in todos" :key="index">
     <img :src='item.lj' alt="">
    <p>{{item.name}}</p>
    </span>
  </div>
</template>

<script>
export default {
  props: ['todos']
}
</script>

<style>
.my_div {
  width: 200px;
  border: 1px solid black;
  text-align: center;
  float: left;
}

.my_div img {
  width: 100%;
  height: 200px;
}
</style>
